package day05;

import java.util.Scanner;

public class txt14 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int month=sc.nextInt();
        String iscountperson = "学生";
        int money = 85;
        if (month >= 3 && month <= 10) {
            if (iscountperson.equals("学生")||iscountperson.equals("儿童")) {
                System.out.println("门票价格：" + money * 0.9);
            } else {
                System.out.println("门票价格：" + money);
            }
        } else if (month < 3 || month> 10) {
            if(iscountperson.equals("学生")||iscountperson.equals("儿童")){
                System.out.println("门票价格:"+money*0.9*0.8);
            }else {
                System.out.println("门票价格:"+money*0.8);
            }
        }



    }
}

